package com.fast.user.web.form.web;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 邮寄地址
 * @author lushuifa242
 *
 */
@ApiModel(description="保存邮寄地址所需要参数")
public class DeliveryAddressForm implements Serializable{

	private static final long serialVersionUID = 2795221933653518940L;
	
	@ApiModelProperty(value="唯一ID",name="uuid",required=false,dataType="String")
	private String uuid = "";
	@ApiModelProperty(value="用户ID",name="userId",required=true,dataType="String")
	private String userId = "";
	@ApiModelProperty(value="收件人",name="recipient",required=true,dataType="String")
	private String recipient = "";// 接收人
	@ApiModelProperty(value="国籍",name="nationality",required=false,dataType="String")
	private String nationality;// 国籍
	@ApiModelProperty(value="省份",name="province",required=true,dataType="String")
	private String province;// 省份
	@ApiModelProperty(value="城市",name="city",required=true,dataType="String")
	private String city;// 城市
	@ApiModelProperty(value="区县、地区",name="area",required=true,dataType="String")
	private String area;// 区县、地区
	@ApiModelProperty(value="详细地址",name="address",required=true,dataType="String")
	private String address;// 详细地址
	@ApiModelProperty(value="收件人手机号",name="mobilePhone",required=true,dataType="String")
	private String mobilePhone;// 联系的手机号
	@ApiModelProperty(value="收件人手机号",name="mobilePhone",required=false,dataType="String")
	private String telePhone;// 座机
	@ApiModelProperty(value="是否为默认地址: 1为默认",name="mobilePhone",required=false,dataType="Integer")
	private int isDefault = 0;// 是否为默认地址 1为默认

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRecipient() {
		return recipient;
	}

	public void setRecipient(String recipient) {
		this.recipient = recipient;
	}

	public String getNationality() {
		return nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getTelePhone() {
		return telePhone;
	}

	public void setTelePhone(String telePhone) {
		this.telePhone = telePhone;
	}

	public int getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(int isDefault) {
		this.isDefault = isDefault;
	}

	@Override
	public String toString() {
		return "DeliveryAddressForm [userId=" + userId + ", recipient=" + recipient + ", nationality=" + nationality
				+ ", province=" + province + ", city=" + city + ", area=" + area + ", address=" + address
				+ ", mobilePhone=" + mobilePhone + ", telePhone=" + telePhone + ", isDefault=" + isDefault + "]";
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

}
